package com.swh.dao;


import com.swh.dao.base.BaseDao;
import com.swh.entity.QualificationCondition;
import com.swh.entity.SysOffice;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

public interface SysOfficeDao extends BaseDao<SysOffice> {
    @Override
    int insert(SysOffice sysOffice);

    @Override
    int delete(int id);

    @Override
    int update(SysOffice sysOffice);

    int update2(SysOffice sysOffice);
    
    @Override
    SysOffice load(int id);

    @Override
    List<SysOffice> pageList(int pageNum, int pageSize);

    @Override
    int pageListCount(int offset, int pageSize);

    List<HashMap> selectPage(@Param("pageNull") Integer pageNum, @Param("pageSize") Integer pageSize,
                             @Param("condition") QualificationCondition condition);

    List<SysOffice> findAll(SysOffice sysOffice);


    
    
}